/** ***************************************************************************
 * CoffeeEnums.hpp
 * 2012 CoffeeParty Ltd.
 * Date Created: 2012-07-21                                  format YYYY-MM-DD
 * Revision Id: $Id$
 ******************************************************************************
 */

#ifndef _COFFEE_ENUMS_HPP_
#define _COFFEE_ENUMS_HPP_

enum EI_CPReturnState
{
    CPRS_FAIL_INIT = -2,
    CPRS_ERROR = -1,
    CPRS_QUIT = -1,
    CPRS_OK = 0,
};

enum EI_CPColorFormat
{
    CPCF_A1R5G5B5 = 0xC0000,
    CPCF_R5G6B5,
    CPCF_R8G8B8,
    CPCF_A8R8G8B8,
    CPCF_UNKNOWN,
};

enum EI_CPFlipType
{
    CPFT_HORIZONTAL = 0xA00,
    CPFT_VERTICAL = 0xA70,
    CPFT_DIAGONAL = 0xAF0,
};

enum EI_CPError
{
    CPE_NONE = 0xF0000,
    CPE_OUT_OF_MEMORY,
    CPE_INVALID_PARAM,
    CPE_INVALID_INDEX,
    CPE_INVALID_ID,
    CPE_INVALID_VALUE,
    CPE_STACK_OVERFLOW,
    CPE_STACK_UNDERFLOW,
    CPE_INTERNALERROR,

    CPE_MAX,
};

enum EI_CPMode
{
    CPM_MODE = 0xE0000,
    CPM_INIT,
    CPM_END,

    CPM_MAX,
};

#endif /** _COFFEE_ENUMS_HPP_ */
